package com.gofruit.bean;

/**
 * 
 * @author 陈瑶
 * @see 购物车实体
 *
 */
public class Cart {
	
	private int cartId;//购物车编号，无意义
	private int productId;//产品编号
	private String productName;//产品名
	private int productNum;//产品数目
	private Double productSalePrice;//产品销售价格
	private Double productSumPrice;//产品总价
	private int userId;//用户编号
	private String cartDetail;//购物车描述、备注
	
	
	public int getCartId() {
		return cartId;
	}


	public void setCartId(int cartId) {
		this.cartId = cartId;
	}


	public int getProductId() {
		return productId;
	}


	public void setProductId(int productId) {
		this.productId = productId;
	}


	public String getProductName() {
		return productName;
	}


	public void setProductName(String productName) {
		this.productName = productName;
	}


	public int getProductNum() {
		return productNum;
	}


	public void setProductNum(int productNum) {
		this.productNum = productNum;
	}


	public int getUserId() {
		return userId;
	}


	public void setUserId(int userId) {
		this.userId = userId;
	}


	public Double getproductSalePrice() {
		return productSalePrice;
	}


	public void setproductSalePrice(Double productSalePrice) {
		this.productSalePrice = productSalePrice;
	}


	public Double getproductSumPrice() {
		return productSumPrice;
	}


	public void setproductSumPrice(Double productSumPrice) {
		this.productSumPrice = productSumPrice;
	}


	public String getCartDetail() {
		return cartDetail;
	}


	public void setCartDetail(String cartDetail) {
		this.cartDetail = cartDetail;
	}


	public Cart(int cartId, int productId, String productName, int productNum,
			int userId, Double productSalePrice, Double productSumPrice,
			String cartDetail) {
		super();
		this.cartId = cartId;
		this.productId = productId;
		this.productName = productName;
		this.productNum = productNum;
		this.userId = userId;
		this.productSalePrice = productSalePrice;
		this.productSumPrice = productSumPrice;
		this.cartDetail = cartDetail;
	}


	public Cart() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
